package com.leyou.order.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @ClassName IdWorkerProperties
 * @Date 2019/2/28 9:04
 */
@Data
@ConfigurationProperties(prefix = "ly.worker")
public class IdWorkerProperties {
    private long workerId; //当前机器ID
    private long dataCenterId; //序列号
}
